/**
 * 
 */
package agents.persons.leader;



import util.AgentHelper;
import jade.core.Agent;
import jade.core.behaviours.OneShotBehaviour;
import jade.domain.FIPAAgentManagement.DFAgentDescription;


/**
 * @author Elena
 *
 */
public class SearchDependentsBehaviour extends OneShotBehaviour{
	

	/**
	 * 
	 */
	private static final long serialVersionUID = 3971650368117721215L;
	//private Point p;
	private DFAgentDescription dfd;
	
	public SearchDependentsBehaviour(Agent a){
		super(a);
		//p =((LeaderAgent) myAgent).getPosicion();
	}

	@Override
	public void action() {
		String[] anuncio = new String[] {"generacion-coordenadas","leader"};
		AgentHelper.register(myAgent, anuncio);
	}

	@Override
	public int onEnd() {
		return 0;
	}

}
